//
// Created by yan on 6/29/17.
//

#ifndef MIPSTEST_BSYSCOMPOSIT_H
#define MIPSTEST_BSYSCOMPOSIT_H

#include <iostream>
#include <vector>
#include "bSysNode.h"

class bSysComposit : public bSysNode{
public:
    bSysComposit();
    void Add(bSysNode * node);
    void Remove(bSysNode * node);
    int initcfg();
    int start();
    int end();
    int wait();
private:
    std::vector<bSysNode *> m_sNode;
    static int stopsign ;
    static void stop(int signo);

};


#endif //MIPSTEST_BSYSCOMPOSIT_H
